package com.yanfan.energy.domain;

import java.io.Serializable;
import java.util.List;

/**
 * 保养设备计划关联关系表(MaintenanceDevice)实体类
 *
 * @author makejava
 * @since 2023-03-09 14:41:26
 */
public class MaintenanceDevice implements Serializable {
    private static final long serialVersionUID = -35282484157413170L;
    /**
     * 设备 需要维修的零件，没有就是维修整个设备
     */
    List<MaintenanceDeviceParts> maintainDeviceParts;
    private Long id;
    /**
     * 保养设备位置类型（厂区OR楼栋）
     */
    private Integer locationType;
    /**
     * 保养设备位置 （楼栋或厂区id）
     */
    private Long location;
    /**
     * 楼栋名字or 厂区名字
     */
    private String locationName;
    /**
     * 保养设备id
     */
    private Long deviceId;
    /**
     * 设备名称
     */
    private String deviceName;
    /**
     * 保养计划id
     */
    private Long maintainPlanId;
    /**
     * 车间id
     */
    private Long workshopId;
    /**
     * 车间名字
     */
    private String workshopName;
    /**
     * 计划关联的产品名称
     */
    private String productName;

    /**
     * 计划关联的产品ID
     */
    private String productId;

    private Integer itemNum;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getLocationType() {
        return locationType;
    }

    public void setLocationType(Integer locationType) {
        this.locationType = locationType;
    }

    public Long getLocation() {
        return location;
    }

    public void setLocation(Long location) {
        this.location = location;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Long getMaintainPlanId() {
        return maintainPlanId;
    }

    public void setMaintainPlanId(Long maintainPlanId) {
        this.maintainPlanId = maintainPlanId;
    }

    public Long getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Long workshopId) {
        this.workshopId = workshopId;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public List<MaintenanceDeviceParts> getMaintainDeviceParts() {
        return maintainDeviceParts;
    }

    public void setMaintainDeviceParts(List<MaintenanceDeviceParts> maintainDeviceParts) {
        this.maintainDeviceParts = maintainDeviceParts;
    }

    public String getProductName() {
        return this.productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getItemNum() {
        return itemNum;
    }

    public void setItemNum(Integer itemNum) {
        this.itemNum = itemNum;
    }
}

